package com.qianfeng.smsplatform.common.constants;/***
 *                    .::::.
 *                  .::::::::.
 *                 :::::::::::  
 *             ..:::::::::::'   木马~
 *           '::::::::::::'       
 *             .::::::::::       
 *        '::::::::::::::..
 *             ..::::::::::::.
 *           ``::::::::::::::::
 *            ::::``:::::::::'        .:::.
 *           ::::'   ':::::'       .::::::::.
 *         .::::'      ::::     .:::::::'::::.
 *        .:::'       :::::  .:::::::::' ':::::.
 *       .::'        :::::.:::::::::'      ':::::.
 *      .::'         ::::::::::::::'         ``::::.
 *  ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 *                    '.:::::'                    ':'````..
 */

/**
 * @author ：zl
 * @date ：Created in 2021/7/17 18:38
 */
public enum ResutlDataEnum {
    SUCCESS(InterfaceExceptionDict.RETURN_STATUS_SUCCESS, "成功"),
    CLIENTIDERROR(InterfaceExceptionDict.RETURN_STATUS_CLIENTID_ERROR, "clientId错误"),
    PWDERROR(InterfaceExceptionDict.RETURN_STATUS_PWD_ERROR, "账号密码错误"),
    IPERROR(InterfaceExceptionDict.RETURN_STATUS_IP_ERROR, "访问IP不在白名单"),
    MESSAGECONTENTERROR(InterfaceExceptionDict.RETURN_STATUS_MESSAGE_ERROR, "消息长度不符合要求"),
    MOBILENUMERROR(InterfaceExceptionDict.RETURN_STATUS_MOBILE_ERROR, "手机号错误"),
    SRCIDERROR(InterfaceExceptionDict.RETURN_STATUS_CLIENTID_ERROR, "下行编号错误");

    String code;
    String msg;

    ResutlDataEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
